package com.context.login;

import com.impl.login.AdminLoginActionImpl;
import com.mInterface.login.LoginInterface;

public class LoginContext {

	private static LoginInterface LI;

	public final static int ADMIN_LOGIN = 0;
	public final static int USER_LOGIN = 1;

	public static LoginInterface getLoginInstance( int type  ){


		switch (type) {
		case ADMIN_LOGIN:

			LI = null;
			LI = new AdminLoginActionImpl();
			break;

		default:
			break;
		}

		return LI;
	}


}
